﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="AlterarSenhaUsuario.aspx.cs" Inherits="Usuario_AlterarSenhaUsuario" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentCenter" runat="Server">
    <table width="30%">
        <tr>
            <td>
                Senha Antiga:
            </td>
            <td>
                <asp:TextBox ID="txtSenhaAntiga" runat="server" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Nova Senha:
            </td>
            <td>
                <asp:TextBox ID="txtNovaSenha" runat="server" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Confirmar Senha:
            </td>
            <td>
                <asp:TextBox ID="txtConfirmarSenha" runat="server" TextMode="Password"></asp:TextBox>
                <asp:CompareValidator ID="cmpSenha" runat="server" ControlToCompare="txtNovaSenha"
                    ControlToValidate="txtConfirmarSenha" ErrorMessage="*"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnSalvar" runat="server" Text="Salvar" OnClick="btnSalvar_Click" />
                &nbsp<asp:Button ID="txtCancelar" runat="server" Text="Cancelar" 
                    onclick="txtCancelar_Click" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblMensagem" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
